#ifndef OPTIONSDIALOG_H
#define OPTIONSDIALOG_H
#include <QtGui>

class OptionsDialog : public QDialog
{
    Q_OBJECT

public:
    OptionsDialog(QWidget *parent = 0);
    ~OptionsDialog();
    void initObjects();
    void initLayouts();
    QString getPlayerName();
    bool isSoundOn();
public slots:
    void okClicked();
    void cancelClicked();
private:
    QLineEdit *playerNameEdit;
    QLabel *playerNameInfo;
    QPushButton *acceptSettings, *cancelSettings;
    QGroupBox *difficultyGB, *soundGB;
    QRadioButton *easyDifficulty, *normalDifficulty, *hardDifficulty;
    QRadioButton *soundOn, *soundOff;
    QVBoxLayout *difficultyBoxLayout, *soundBoxLayout, *buttonsLayout, *mainLayout;
    QHBoxLayout *playerBoxLayout, *groupBoxesLayout;
    QString *difficulty;
    bool soundIsOn;

};

#endif // OPTIONSDIALOG_H
